package com.victualler.core.config.img.enums;

/**
 * @author Guoshichang
 * @since 22:49 on 2018/9/21.
 */
public enum  ImageTypeEnums {
    NORMAL("normal","正常大小"),
    SMALL("small","小型图标");


    private String key;
    private String value;

    private ImageTypeEnums(String key, String value) {
        this.key = key;
        this.value = value;
    }

    public static String getValue(String key) {
        ImageTypeEnums[] var1 = values();
        int var2 = var1.length;

        for(int var3 = 0; var3 < var2; ++var3) {
            ImageTypeEnums e = var1[var3];
            if (e.getKey().equals(key)) {
                return e.value;
            }
        }
        return null;
    }

    public String getValue() {
        return this.value;
    }

    public String getKey() {
        return this.key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
